



<!-- 轮播图 -->
<div class="lbt">
     <div class="lbt-top"></div>
     <ul class="lbt-list">
		     <li style="display:block;"><img src="public/home/img/a.jpg"></li>
             <li><img src="public/home/img/b.jpg"></li>
             <li><img src="public/home/img/c.jpg"></li>
             <li><img src="public/home/img/d.jpg"></li>  
     </ul>
     <div class="nums">
             <div class="num-list">
		             <a href="">1</a>
		             <a href="">2</a>
		             <a href="">3</a>
		             <a href="">4</a>   
             </div>
     </div>

</div>
<!-- 轮播图 -->
<!-- <script type="text/javascript">
var i=0;
$(function(){
    setInterval(function(){qh()},1000);
    function qh(){
        if(i==4){
          i=0;
        }
         
            $('.lbt-list').find('li').eq(i).fadeIn().siblings().fadeOut();
        i++;
         
    }
})
</script> -->


<!-- 中间 -->
<div class="center">
	<div class="center-left fl">
			<h3 class="title"><span></span><?php echo $js['name']?><a class="more">更多>></a></h3>
			<div class="ce-content">
		            <img src="<?php echo $js['cate_pic']?>">
		            <div class="ce-text">
		                    <p><?php echo mb_substr($js['cate_content'],0,380,'utf8')?>...</p>
		            </div>     
			</div>
	</div>

    <?php foreach($arr as $k=>$v):?>
	<div class="center-right fr">
           <h3 class="title"><span></span><?php echo $v[0]['name'];?><a class="more">更多>></a></h3>
           <div class="big-new">
		           <img src="public/home/img/1.jpg">
		           <div class="big-text">
                       <h3><strong>选择做品牌就会坚定不移做下去</strong></h3>

                       <h3>在2013年5月初举办的中国进出口商品交易会（以下简称广交</h3>
		           </div>
           </div>
            

           <ul class="news-list">
                   <?php foreach($v as $k1=>$v1): ?>
		           <li><a href="index.php?c=list&a=news-detail&id=<?php echo $v1['id'];?>"><?php echo $v1['title'];?></a></li>
                   <?php endforeach;?>

           </ul>

	</div>
<?php endforeach;?>

</div>
<!-- 中间 -->


<!-- 产品世界 -->
<div class="product">
    <div class="bot-top"></div>
    <h3 class="title"><span></span>产品世界<a class="more">更多>></a></h3>
    <a class="left" href="javascript:;"></a>
    <a class="right" href="javascript:;"></a>
    <div class="pro">
            <ul class="product-list">
                    <?php foreach($date as $k=>$v):?>
                    <li><a href="index.php?c=product&a=show&id=<?php echo $v['id']?>"><img width="162" height="132" src="<?php echo $v['orignalimg']?>"><h4><?php echo $v['goods_name'];?></h4></a></li>
                    <?php endforeach;?>
            </ul>
    </div>
    <div class="bot-bottom"></div>
</div>
<!-- 产品世界 -->

<script type="text/javascript">
$(function(){
    var num=0;
    // setInterval(function(){run()},3000);
    // function run(){
    //     num=-225+num;
    //     if(num>=-1050){
    //       $('.product-list').stop().animate({'left':num+'px'},500);
    //     }else{
    //         num=0;   
    //     }
    // }

    $('.product .left').click(function(){
        num=num+225;
      $('.product-list').stop().animate({'left':num+'px'},500);
    });

    $('.product .right').click(function(){
        num=-225+num;
      $('.product-list').stop().animate({'left':num+'px'},500);
    });

    
})
</script>



<!-- 其他 -->
<div class="orther">
    <?php foreach($arr1 as $k=>$v):?>
    <div class="orther-left fl">
            <div class="bot-top"></div>
            <h3 class="title"><span></span><?php echo $v[0]['name']?><a class="more">更多>></a></h3>
            <ul class="left-con">
                    <?php foreach($v as $k1=>$v1):?>
                    <li><a href="index.php?c=list&a=news-detail&id=<?php echo $v1['id'];?>"><?php echo $v1['title']?> <?php echo date('Y-m',$v1['createtime']);?></a></li>
                    <?php endforeach;?>

            </ul>
            <div class="bot-bottom"></div>
    </div>
    <?php endforeach;?>
    


    <?php foreach($arr2 as $k=>$v):?>
    <div class="orther-mid fl">
            <div class="bot-top"></div>
            <h3 class="title"><span></span><?php echo $v[0]['name']?><a class="more">更多>></a></h3>
            <a class="com left"></a>
            <a class="com right"></a>
            <ul class="mid-img">
                    <?php foreach($v as $k1=>$v1):?>
                    <li><a href="index.php?c=list&a=news-detail&id=<?php echo $v1['id'];?>"><img width="250" height="183" src="<?php echo $v1['img']; ?>"></a></li>
                <?php endforeach;?>
            </ul>
            <div class="bot-bottom"></div>
    </div>
<?php endforeach;?>

    <div class="orther-right fr">
            <div class="bot-top"></div>
            <h3 class="title"><span></span><?php echo $con['name']?><a class="more">更多>></a></h3>
            <pre style="font-size:14px;margin-left:5px;"><?php echo $con['cate_content']?>
            </pre>
            <ul class="left-con">
           
                    

            </ul>
            <div class="bot-bottom"></div>
    </div>
<!-- 其他 -->
</div>
<div class="clear"></div>



<!-- 友情链接 -->
<div class="friendly">
    <div class="fri">
            <div class="fri-con">
                    <h3>
                            <span>友情链接</span>
                            <a href="##">更多>></a>
                    </h3>
                    <ul class="fri-list">
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                            <li><a href="##">户外运动</a></li>
                    </ul>
                    
            </div>                    
            
    </div>

</div>
</div>
<!-- 友情链接 -->

